Skip to content

Share native providers and preserve frames during peer handoff - #3

Merged
pinhopro merged 7 commits into
mainfrom
work/interop-ci-recovery
Nov 8, 2026
Merged

pinhopro merged 7 commits into
mainfrom
work/interop-ci-recovery

Conversation

@pinhopro

@pinhopro pinhopro commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Native Trystero now shares the pinned source-built OpenSSL and libdatachannel providers with Asio and Beast. B2 propagates the chosen build configuration and requires multiple threads for the native backend. Provider integration tests link the libraries together.

Preserve binary frames that arrive before native channel handlers are installed, using bounded storage from the application allocator and asynchronous delivery. This prevents early presence frames from being lost during multiroom handoff. A channel closing before room binding also terminates the pending negotiation. Regression tests cover the handoff, lifetime and allocation paths, and the guide records the behavior.

Relay-fault tests now isolate departures after the injected fault and require fresh, currently joined peers on both sides before probing a recovered connection. A controlled one-way handshake delay reproduces the previous readiness failure on browser and native backends. Existing deadlines, fresh-message checks, relay-loss assertions and fatal console errors remain in force. RTCError fields are retained for diagnosis.

Validation: the collection previously tested the provider and production fixes; the latest readiness control fails against the old condition and passes after correction. Fresh full local interoperability suites passed 26 browser and 30 native scenarios. Changed-file checks and independent review passed. The final library run 42427401137 and collection run 42427424028 passed, with 11 and 133 XML lanes independently audited and no failures.

A separate native two-room OperationError from collection run 42414092998 remains under investigation. Passing local repeats and the new diagnostics are not claimed as its fix. Coordinated integration and the detailed validation record: webcpporg/webcpp#12.

On 2026-11-08 the owner explicitly approved integration and publication with the intermittent OperationError investigation still open. This acceptance does not reclassify the error as fixed.

@pinhopro pinhopro changed the title Separate relay faults from earlier connection recovery Validate recovered peers before relay fault checks Nov 7, 2026
@pinhopro pinhopro changed the title Validate recovered peers before relay fault checks Share native providers and preserve frames during peer handoff Nov 7, 2026
@pinhopro
pinhopro marked this pull request as ready for review November 8, 2026 03:14
@pinhopro
pinhopro merged commit af301ba into main Nov 8, 2026
25 checks passed
@pinhopro
pinhopro deleted the work/interop-ci-recovery branch November 8, 2026 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant